-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Notifications Banner #184
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, Yasser, thanks! Just a few nit-picky suggestions. :)
"folder": "notifications-banner", | ||
"tests": [ | ||
"Enable Desktop notification on Window/Mac/Ubuntu Desktop app", | ||
"Enable/Disabled notification on Mobile app" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Enable/Disabled notification on Mobile app" | |
"Enable/Disable notification on Mobile app" |
authors: "@yasserfaraazkhan" | ||
team_ownership: | ||
- ICU | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | |
priority_p1_to_p4: P3 - Deep Functions (Do extensive scenarios work?) |
|
||
**Step 1** | ||
|
||
### Scenario: User Enable's the desktop notifications |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Scenario: User Enable's the desktop notifications | |
### Scenario: User Enables the desktop notifications |
11. Open Settings modal. Expand "Desktop and mobile notification section". | ||
12. Verify "Desktop notifications aren’t enabled" message is not visible anymore. | ||
|
||
### Scenario: User Deny's the desktop notifications on WINDOWS / MAC / Ubuntu OS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Scenario: User Deny's the desktop notifications on WINDOWS / MAC / Ubuntu OS | |
### Scenario: User Denies the desktop notifications on WINDOWS / MAC / Ubuntu OS |
6. Verify a confirmation pop up is shown with message `Mattermost(<Instance link>) would like to send you notifications.`. | ||
7. **Deny** the notifications permissions. | ||
8. Receive a notification ping from another user. | ||
9. Verify the notification pop-up are not seen. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9. Verify the notification pop-up are not seen. | |
9. Verify the notification pop-up is not seen. |
10. Verify the Global banner is not visible anymore. | ||
11. Open Settings modal. | ||
12. Verify a Alert tag is visible, saying "Permission required". | ||
13. Expand "Desktop and mobile notification section". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
13. Expand "Desktop and mobile notification section". | |
13. Expand "Desktop and mobile notifications" section. |
13. Expand "Desktop and mobile notification section". | ||
14. Verify "Desktop notifications permission was denied" message is visible. A buttons with text "Enable desktop notifications" and "How to enable notifications" are visible. | ||
|
||
### Scenario: User Deny's the desktop notifications on Browsers Chrome/Safari/Firefox/Edge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Scenario: User Deny's the desktop notifications on Browsers Chrome/Safari/Firefox/Edge | |
### Scenario: User Denies the desktop notifications on browsers Chrome/Safari/Firefox/Edge |
@@ -0,0 +1,53 @@ | |||
--- | |||
# (Required) Ensure all values are filled up | |||
name: "Enable/Disabled notification on Mobile app" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: "Enable/Disabled notification on Mobile app" | |
name: "Enable/Disable notification on Mobile app" |
authors: "@yasserfaraazkhan" | ||
team_ownership: | ||
- ICU | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | |
priority_p1_to_p4: P3 - Deep Functions (Do extensive scenarios work?) |
Adding this here since we have some more changes to be added with Desktop specific |
Jira: https://mattermost.atlassian.net/browse/MM-60477